package com.example.chess2;

import java.util.List;

/**
 * 
 * @author lu.feng
 *
 */

public class Piece {
	private int id;  //id
	private List<PPoint> ppoints;   //
	private int totalLiberty;     //
	private boolean valide;      //
	private int paint;           //
	
	private int endStep;   //失效时间
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public List<PPoint> getPpoints() {
		return ppoints;
	}
	public void setPpoints(List<PPoint> ppoints) {
		this.ppoints = ppoints;
	}
	public int getTotalLiberty() {
		return totalLiberty;
	}
	public void setTotalLiberty(int totalLiberty) {
		this.totalLiberty = totalLiberty;
	}
	public boolean isValide() {
		return valide;
	}
	public void setValide(boolean valide) {
		this.valide = valide;
	}
	public int getPaint() {
		return paint;
	}
	public void setPaint(int paint) {
		this.paint = paint;
	}
	public int getEndStep() {
		return endStep;
	}
	public void setEndStep(int endStep) {
		this.endStep = endStep;
	}
}
